package com;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Vector;

public class JUSTTest {
	
	public static void main(String[] arrs){
		
		Connection conn = OracleUtil.getOracleConnection();
		try {
			PreparedStatement pstmt = conn.prepareStatement("select 'Y'  from GX_SQ where F_DQSQZT in (?)");
			Vector v = new Vector();
			v.addElement("KY");
			v.addElement("KZ");
			pstmt.setObject(1, v);
			ResultSet rs = pstmt.executeQuery();
			int num=0;
			while(rs.next()){
				num++;
			}
			
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
	
}
